package com.edu.ujn.myh.domain;

// default package

/**
 * UserRoleInfo entity. @author MyEclipse Persistence Tools
 */

public class UserRoleInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo userInfo;
	private RoleInfo roleInfo;

	// Constructors

	/** default constructor */
	public UserRoleInfo() {
	}

	/** full constructor */
	public UserRoleInfo(UserInfo userInfo, RoleInfo roleInfo) {
		this.userInfo = userInfo;
		this.roleInfo = roleInfo;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public RoleInfo getRoleInfo() {
		return this.roleInfo;
	}

	public void setRoleInfo(RoleInfo roleInfo) {
		this.roleInfo = roleInfo;
	}

}